﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Device
{
    public class ModelCommandAgreementParameterCommand
    {
        /// <summary>
        /// 操作内容
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 指令名称
        /// </summary>
        public string key { get; set; }
        /// <summary>
        /// 指令内容
        /// </summary>
        public string value { get; set; }

        public int order { get; set; }

        public string callBackStart { get; set; }

        /// <summary>
        /// callBack标识
        /// </summary>
        public string callBackKey { get; set; }
        /// <summary>
        /// 回调名称
        /// </summary>
        public string callBackKeyName { get; set; }

        
        ///// <summary>
        ///// 回调阀值
        ///// </summary>
        public string callBackValue { get; set; }
        ///// <summary>
        ///// 阀值规则 >  <   =
        ///// </summary>
        public string callBackValueRule { get; set; }
        /// <summary>
        /// 运行心跳
        /// </summary>
        public int callBackRunInterval { get; set; }
        /// <summary>
        /// 1停止回调
        /// </summary>
        public string callBackStop { get; set; }
        /// <summary>
        /// 返回结果
        /// </summary>
        public string returnResult { get; set; }
        /// <summary>
        /// 状态结果字符串内容截断
        /// </summary>
        public string returnResultSubstring { get; set; }

    }
}
